//
//  PrefixHeader.h
//  CRSCMOA
//
//  Created by 王文晓 on 16/8/8.
//  Copyright © 2016年 王文晓. All rights reserved.
//

#ifndef _PrefixHeader__h
#define _PrefixHeader__h
#define kImageName(imageName) [UIImage imageNamed:imageName]
#define kImage_placeholder    [UIImage imageNamed:@"placeholder"]
#define kRect(x,y,w,h)        CGRectMake(x, y, w, h)
#define kSize(w,h)            CGSizeMake(w,h)
#define kFont(font)           [UIFont systemFontOfSize:font]
#define kColor(color)         [UIColor color]
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
//#define Login_URL @"http://192.168.0.180:8050/JBaas/android/checkLogin?authCode=APP*JNT@2015E0298TR"

#define Login_URL @"http://118.186.223.151:8050/JBaas/android/checkLogin?authCode=APP*JNT@2015E0298TR"
<<<<<<< HEAD:CRSCMOA 2 2/CRSCMOA/Class/AppDelegate/ PrefixHeader .h
//@"http://192.168.0.180:8050/JBaas/android/checkLogin?authCode=APP*JNT@2015E0298TR" //登录接口


#define AddressBookSearch_URL @"http://192.168.0.180:8050/JBaas/user/findByName?authCode=APP*JNT@2015E0298TR" //通讯录搜索接口
#define EntranceGuar @"http://118.186.223.162:8090/getAccessQR" //二维码
=======
#define AddressBookSearch_URL @"http://118.186.223.151:8050/JBaas/user/findByName?authCode=APP*JNT@2015E0298TR" //通讯录搜索接口
#define EntranceGuar_URL @"http://118.186.223.162:8090/getAccessQR" //二维码
#define OneCartoon_URl   @"http://118.186.223.162:8090/getCardBalance" //一卡通
#define Recharge_URL     @"http://118.186.223.162:8090/getCardCharge"
#define Consumption_URL  @"http://118.186.223.162:8090/getCardConsume"



>>>>>>> 5d77ba88a0bc6569653b8f804f653561329e4852:CRSCMOA 2 2/CRSCMOA/Class/AppDelegate/PrefixHeader.h
//类目
#import "UIView+Frame.h"
#import "UIImage+Image.h"
#import "UIBarButtonItem+ZTItem.h"
#import "NSObject+ToolObject.h"

//网络
#import <AFNetworking.h>
#import <AdSupport/AdSupport.h>
//数据请求
#import "JNTDataRequestTools.h"//主界面
#import "JNTTabBarController.h"
//数据解析
#import "JSONModel.h"
//主页
#import "JNTHomeViewController.h"
//本地存储
#import "CurrentUserInfo.h"
#define APP_DEF [NSUserDefaults standardUserDefaults]
#define UID [CurrentUserInfo sharedCurrentUserInfo].uid
#define NAME [CurrentUserInfo sharedCurrentUserInfo].name
#define TOKEN_KEY @"token"
#define TIME_KEY @"time_key"
#define USER_NAME @"userName"
//model
#import "homeModel.h"

//cell
#import "ApplyTableViewCell.h"
#import "BaseCollectionViewCell.h"
#import "JNTWorkbenchTableViewCell.h"
#import "PersonalNeedCollectionViewCell.h"

//自定义顶部按钮
#import "MyView.h"





//日程
#define BASE_SERVICE @"appBaseService?"
#define REMI_SERVICE @"appRemiService?"
#define INTE_SERVICE @"appInteService?"
#define INFO_SERVICE @"appInfoService?"
#define SERV_SERVICE @"appServService?"
#define APP_SERVICE  @"appAppService?"



//第一次登陆
#define FISTUSEAPP @"FISTUSEAPP"
//已经登陆
#define FIRSTLOGIN @"FIRSTLOGIN"
//用户登录名
#define USERLOGINNAME @"USERLOGINNAME"
//密码
#define USERLOGINPASSORD @"USERLOGINPASSORD"
//action
#define ACTION @"action"
//userId
#define USERID @"userId"
//userType
#define USERTYPE [[NSUserDefaults standardUserDefaults] objectForKey:@"userType"]


#define DEVICE_WIDTH  [UIScreen mainScreen].bounds.size.width
#define DEVICE_HEIGHT [UIScreen mainScreen].bounds.size.height


#define COLOR_RGB(r,g,b) [UIColor colorWithRed:r/255.0  green:g/255.0  blue:b/255.0 alpha:1]

#define ColorRgb(r,g,b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1]
#define CZKeyWindow [UIApplication sharedApplication].keyWindow

// ...表示宏定义的可变参数
// __VA_ARGS__:表示函数里面的可变参数
#ifdef DEBUG // 调试

#define JNTLog(...) NSLog(__VA_ARGS__)

#else // 发布

#define JNTLog(...)

#endif

/*        cell            */
#define CZStatusCellMargin 10
#define JNTNameFont [UIFont systemFontOfSize:13]
#define JNTimeFont [UIFont systemFontOfSize:12]
#define JNTSourceFont CZTimeFont
#define JNTTextFont [UIFont systemFontOfSize:15]


#endif /* _PrefixHeader__h */
